<!-- <template>
  <div>
评论
  </div>
</template>

<script>
import { mapState, mapActions } from "vuex";
export default {
  data() {
    return {

    };
  },
  computed: {
    ...mapState('comments', [
      'commentsList'
    ]),

  },
  methods: {
    ...mapActions('comments', [
      'updateCommentsList'
    ]),
  },
  created() {

    // 路由实例
    // console.log(this.$router);
    // 当前路由信息
    // console.log(this.$route.query.q);
    // 请求当前设置loading
    this.updateCommentsList(this.$route.query.q)


  },
}
</script>

<style>

</style> -->
